package com.ruoyi.withdraw.mapper;

import java.util.List;
import com.ruoyi.withdraw.domain.WithdrawApply;
import org.apache.ibatis.annotations.Param;

/**
 * 门店提现申请记录Mapper接口
 *
 * @author ruoyi
 * @date 2021-11-30
 */
public interface WithdrawApplyMapper
{
    /**
     * 查询门店提现申请记录
     *
     * @param id 门店提现申请记录主键
     * @return 门店提现申请记录
     */
    public WithdrawApply selectWithdrawApplyById(Long id);

    /**
     * 查询门店提现申请记录列表
     *
     * @param withdrawApply 门店提现申请记录
     * @return 门店提现申请记录集合
     */
    public List<WithdrawApply> selectWithdrawApplyList(WithdrawApply withdrawApply);

    /**
     * 新增门店提现申请记录
     *
     * @param withdrawApply 门店提现申请记录
     * @return 结果
     */
    public int insertWithdrawApply(WithdrawApply withdrawApply);

    /**
     * 修改门店提现申请记录
     *
     * @param withdrawApply 门店提现申请记录
     * @return 结果
     */
    public int updateWithdrawApply(WithdrawApply withdrawApply);

    /**
     * 删除门店提现申请记录
     *
     * @param id 门店提现申请记录主键
     * @return 结果
     */
    public int deleteWithdrawApplyById(Long id);

    /**
     * 批量删除门店提现申请记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWithdrawApplyByIds(Long[] ids);

    /**
     * 批量逻辑删除门店提现申请记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int logicDeleteWithdrawApply(@Param("array") Long[] ids, @Param("delType") String delType, @Param("delUser") Long delUser);
}
